//#ifndef LEVELTERRAINHOLDER_H
//#define LEVELTERRAINHOLDER_H

#include <map>
#include <string>
#include <cassert>
#include "LevelTerrain.h"

class LevelTerrainHolder {
private:
    typedef std::map<std::string, LevelTerrain*> LevelTerrainMap;
    LevelTerrainMap	levelTerrainMap;
	static LevelTerrainHolder *levelTH;
protected:
    LevelTerrainHolder(const char* path); // Decoder constructor.
    ~LevelTerrainHolder();
public:
	static void Initialize(const char* path);
	static LevelTerrainHolder *GetSingleton(void);
	const LevelTerrain *GetTerrain(const std::string id) const;
};

//#endif